<!doctype html>
<html lang="en">
{include file="public/head" /}
<body>
    <div class="login-logo"><h1>学生抢课系统 V0.1</h1></div>
    <div class="login-box">
        <form class="layui-form layui-form-pane"  method="get" action="dologin">
              
            <!--<h3>登录你的帐号</h3>  -->
            <label class="login-title" >帐号</label>
            <div class="layui-form-item">
                <label class="layui-form-label login-form"><i class="iconfont">&#xe6b8;</i></label>
                <div class="layui-input-inline login-inline">
                  <input type="text" name="username" lay-verify="required" placeholder="请输入你的帐号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <label class="login-title" >密码</label>
            <div class="layui-form-item">
                <label class="layui-form-label login-form"><i class="iconfont">&#xe82b;</i></label>
                <div class="layui-input-inline login-inline">
                  <input type="password" name="password" lay-verify="required" placeholder="请输入你的密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <label class="login-title" >验证码</label>
            <div class="layui-form-item">
                <label class="layui-form-label login-form"><i class="iconfont">&#xe82b;</i></label>
                <div class="layui-input-inline login-inline">
                    <input type="text" id="authcode" name="authcode" required="" autocomplete="off" placeholder="请输入你的验证码" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item"  align="center">
                <!-- 项目的路径必须是英文，否则会导致验证码加载不出来-->
                <img src="{:captcha_src()}" id="captcha" width="100" height="30" >
                <a id="kanbuq" href="">看不清，换一张</a>
            </div>

            <div class="form-actions">
                <button class="btn btn-warning pull-right" lay-submit lay-filter="login"  type="submit">登录</button>
                <div class="forgot"><a href="#" class="forgot">忘记帐号或者密码</a></div>
            </div>
        </form>
    </div>
</body>
</html>